package cn.zjh.org.domain;

import cn.zjh.basic.domain.BaseDomain;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data//在编译得时候获取getset方法
@NoArgsConstructor//获取无参
@AllArgsConstructor//获取有参
public class Employee extends BaseDomain {

    private String username;
    private String phone;
    private String email;
    private String salt;
    private String password;
    private Integer age;
    private Integer state = 1;
    private Long department_id;
    private Department department;
    private Long  logininfo_id;
    private Long shop_id;
    private Shop shop;
    private Employee employee;
    private String name;
    //方便从中间表中为员工添加角色
    private Long role_id;

}
